﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace _395_2d
{
    public abstract class Ship : Sprite
    {
        protected SpriteManager SM;
        protected string Weapon;
        public int Health;
        protected double LastShot;

        public abstract void shoot(GameTime gt);

        public void hit(Projectile p)
        {
            Health -= p.Damage;
        }
    }
}
